Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Support for Python 3.12 and drop Python 2 Support #18

Merged
merged 3 commits into from
Apr 22, 2024

Conversation

pbauer
Copy link
Member

@pbauer pbauer commented Jan 23, 2024

I'm not really sure about the main changes in the Reloader class. It seems to work as well as before (i.e. schema-changes are not applied but it works fine for for stuff like views and services). Maybe the whole thing could use a rewrite but I'm fine with what it does so far.

@mister-roboto
Copy link

@pbauer thanks for creating this Pull Request and helping to improve Plone!

TL;DR: Finish pushing changes, pass all other checks, then paste a comment:

@jenkins-plone-org please run jobs

To ensure that these changes do not break other parts of Plone, the Plone test suite matrix needs to pass, but it takes 30-60 min. Other CI checks are usually much faster and the Plone Jenkins resources are limited, so when done pushing changes and all other checks pass either start all Jenkins PR jobs yourself, or simply add the comment above in this PR to start all the jobs automatically.

Happy hacking!

Copy link
Member

@thet thet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would declare support for Python >= 3.8.
But this is a really minor detail.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will merge the PR, and then remove the 3.6 and 3.7 classifiers.

@ale-rt
Copy link
Member

ale-rt commented Apr 4, 2024

@jenkins-plone-org please run jobs

Of course I expect the Py 2.7 jobs to fail, let's see

import zope.component

# from zope.interface.interface import Specification
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
# from zope.interface.interface import Specification

Copy link
Member

@ale-rt ale-rt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Member

@mauritsvanrees mauritsvanrees left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

I have created a branch 3.x and let coredev 5.2 use it.

@mauritsvanrees mauritsvanrees merged commit cbdbb58 into master Apr 22, 2024
8 of 9 checks passed
@mauritsvanrees mauritsvanrees deleted the python312 branch April 22, 2024 09:58
@mauritsvanrees
Copy link
Member

I have released plone.reload 4.0.0 and will update coredev 6.0 and 6.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants